package com.pine.app.module.security.core.exception;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author xiaoyuan
 * @create 2020/3/21
 **/
public interface ExceptionEntryPoint {

    <T extends BaseException>  void  handler(HttpServletRequest request, HttpServletResponse response, T e) throws IOException, ServletException;
}
